<?php

/**
 * @author shadow245
 * @copyright 2013
 */

/*************************
CONFIGURACION EN GENERAL
*************************/

define ('DEFAULT_PROJECT', 'index');
define ('DEFAULT_CONTROLLER', 'index');
define ('DEFAULT_METHOD', 'index');
define ('DEFAULT_LAYOUT', 'default');
define ('SESSION_TIME', 10); //DEFINE EL TIEMPO QUE DURA UNA SESSION
//define ('HASH_KEY', '5374cc06a7053');

/***************************************
CONFIGURACION DE DATOS DE LA PAGINA WEB
****************************************/

define ('APP_NAME','TRANSACCIONES');
define ('APP_SLOGAN','SOLUCIONES INTEGRALES EN FUNDICION Y MAQUINADO');
define ('APP_COMPANY','Fimex S.A. de C.V.');
define ('APP_LOGO','fimex_logo.png');


class Config {
    public $config;
    
    public function __construct(){
        
        /***************************************
        CONFIGURACION DE DATOS DE LA PAGINA WEB
        ****************************************/
        
        $this->config['app']['name'] = 'SISTEMA WEB FIMEX';
        $this->config['app']['slogan'] = 'SOLUCIONES INTEGRALES EN FUNDICION Y MAQUINADO';
        $this->config['app']['company'] = 'Fimex S.A. de C.V.';
        $this->config['app']['logo'] = 'fimex_logo.png';
        
        
        /*********************************************
        CONFIGURACION DE CONEXION A BASE DE DATOS
        *********************************************/
        
        $this->config['DB']['MYSQL'] = array(
            'host' => 'servidor',
            'user' => 'avilla',
            'pass' => '1234@',
            'dbname' => 'duxsis',
            'char' => 'utf8'
        );
        
        $this->config['DB']['EMAIL'] = array(
            'host' => '192.168.0.108',
            'user' => 'avilla',
            'pass' => '1234@',
            'dbname' => 'util',
            'char' => 'utf8'
        );
        
        $this->config['DB']['DUX'] = array(
            'host' => 'C:\opl\Datos\2014\datos001\\',
            'DSN' => 'Datos Fimex 2014w'
        );
        
        $this->config['DB']['MSSQL'] = array(
            'host' => 'APPSERVIDOR\CALIDAD',
            'user' => 'sa',
            'pass' => 'sa01',
            'dbname' => 'aDhocSystem',
            'char' => 'utf8'
        );
        
        /*********************************************
        CONFIGURACION DE CONEXION A BASE DE DATOS
        *********************************************/
        
        $this->config['menu'] = array();
    }
}

?>